export const tableOption = {
  border: true,
  index: false,
  indexLabel: "序号",
  stripe: false,
  menuAlign: "center",
  align: "center",
  refreshBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  header: false,
  menu: true,
  menuWidth: 120,
  props: {
    label: "label",
    value: "value"
  },
  column: [
    {
      label: "订单基础信息",
      prop: "info",
      width: "350",
      slot: true
    },
    {
      label: "充电片区信息",
      prop: "districtInfo",
      width: "250",
      slot: true
    },
    {
      label: "消费信息",
      prop: "consumeInfo",
      width: "150",
      slot: true
    },
    {
      label: "计费方式",
      prop: "chargeMode",
      width: "150",
      slot: true
    },
    {
      label: "结束原因",
      prop: "endReason",
      width: "100",
      type: "select",
      dicData: [
        {
          label: "时间用尽",
          value: "a"
        },
        {
          label: "电量用尽",
          value: "b"
        },
        {
          label: "金额用尽",
          value: "c"
        },
        {
          label: "智能充电",
          value: "e"
        },
        {
          label: "异常结束",
          value: "o"
        },
        {
          label: "用户主动结束",
          value: "f"
        },
        {
          label: "空载结束",
          value: "h"
        }
      ]
    },
    {
      label: "退款情况",
      prop: "refundInfo",
      width: "180",
      slot: true
    },
    {
      label: "充电状态",
      width: "100",
      prop: "status",
      type: "select",
      dicData: [
        {
          label: "预充电",
          value: 0
        },
        {
          label: "正在充电",
          value: 1
        },
        {
          label: "未打开充电桩",
          value: 2
        },
        {
          label: "充电失败",
          value: 3
        },
        {
          label: "充电成功",
          value: 4
        }
      ]
    }
  ]
};
